package com.javaclimb.houserent.common.enums;

//房子状态枚举
public enum HouseStatusEnum {
    //未出租
    NOT_RENT(0),

    //已出租
    HAS_RENT(1),

    //已下架
    HAS_DOWN(-1),

    //待审核
    HOT_CHECK(-2),

    //审核不通过
    CHECK_REJECT(-3)
    ;

    private Integer value;

    HouseStatusEnum(Integer value) {
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}
